import request from '@/utils/request'


// 渠道总表
export function getFContactInfoList(params) {
  return request({
    url: '/AttractInvestment/customer/contact/list',
    method: 'get',
    params
  })
}


export function getVisualizationInvestmentData(params) {
  return request({
    url: '/AttractInvestment/visualization/investment/getData',
    method: 'get',
    params
  })
}
export function getVisualizationLeaseData(params) {
  return request({
    url: '/AttractInvestment/visualization/lease/getData',
    method: 'get',
    params
  })
}

/**
 * 企业可视化统计
 * @param params
 * @returns {*}
 */
export function getCompanyTotalData(params) {
  return request({
    url: '/AttractInvestment/company_total/agent-stats',
    method: 'get',
    params
  })
}

/**
 * 获取所有渠道联系人
 * @param params
 * @returns {*}
 */
export function getAllContactInfoList(params) {
  return request({
    url: '/AttractInvestment/customer/allList',
    method: 'get',
    params
  })
}